/**
 *====================================================
 * 文件名称: QuarterSettlement.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2016年3月18日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: QuarterSettlement
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2016年3月18日 下午3:17:00
 */
@Entity
@Table(name = "FIN_QUARTER_SETTLEMENT")
public class QuarterSettlementEntity {

	/** 利息单ID */
	@Id
	@GeneratedValue
	@Column(name = "QUARTER_SETTLEMENT_ID")
	private Long quarterSettlementId;

	/** 利息结算单编号 */
	@Column(name = "SETTLEMENT_NUMBER")
	private String settlementNumber;

	/** 提货单ID */
	@Column(name = "PICKUP_ID")
	private Long pickupId;

	/** 融资信息ID */
	@Column(name = "FINANCE_ID")
	private Long financeId;

	/** 融资信息编号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;

	/** 融资企业ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 融资企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;

	/** 收息天数 */
	@Column(name = "DAYS")
	private Integer days;

	/** 利息单类型 0:未知/1:阶段收息/2:提货结息 */
	@Column(name = "SETTLEMENT_TYPE")
	private Integer settlementType;

	/** 结算总额 */
	@Column(name = "FINANCE_AMOUNT")
	private BigDecimal financeAmount;

	/** 利息总额 */
	@Column(name = "SETTLEMENT_AMOUNT")
	private BigDecimal settlementAmount;
	
	/** 原利息总额 */
	@Column(name = "SETTLEMENT_AMOUNT_ORIGIN")
	private BigDecimal settlementAmountOrigin;

	/** 正常计息金额 */
	@Column(name = "INTEREST_AMOUNT")
	private BigDecimal interestAmount;

	/** 罚息金额 */
	@Column(name = "PUNISH_AMOUNT")
	private BigDecimal punishAmount;

	/** 操作人ID */
	@Column(name = "CREATOR_ID")
	private Long creatorId;

	/** 操作人 */
	@Column(name = "CREATOR")
	private String creator;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	public BigDecimal getSettlementAmountOrigin() {
		return settlementAmountOrigin;
	}

	public void setSettlementAmountOrigin(BigDecimal settlementAmountOrigin) {
		this.settlementAmountOrigin = settlementAmountOrigin;
	}

	private transient List<QuarterSettlementContainerEntity> containers;

	public Long getQuarterSettlementId() {
		return quarterSettlementId;
	}

	public void setQuarterSettlementId(Long quarterSettlementId) {
		this.quarterSettlementId = quarterSettlementId;
	}

	public String getSettlementNumber() {
		return settlementNumber;
	}

	public void setSettlementNumber(String settlementNumber) {
		this.settlementNumber = settlementNumber;
	}

	public Long getPickupId() {
		return pickupId;
	}

	public void setPickupId(Long pickupId) {
		this.pickupId = pickupId;
	}

	public Integer getDays() {
		return days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}

	public BigDecimal getFinanceAmount() {
		return financeAmount;
	}

	public void setFinanceAmount(BigDecimal financeAmount) {
		this.financeAmount = financeAmount;
	}

	public Integer getSettlementType() {
		return settlementType;
	}

	public void setSettlementType(Integer settlementType) {
		this.settlementType = settlementType;
	}

	public BigDecimal getSettlementAmount() {
		return settlementAmount;
	}

	public void setSettlementAmount(BigDecimal settlementAmount) {
		this.settlementAmount = settlementAmount;
	}

	public BigDecimal getInterestAmount() {
		return interestAmount;
	}

	public void setInterestAmount(BigDecimal interestAmount) {
		this.interestAmount = interestAmount;
	}

	public BigDecimal getPunishAmount() {
		return punishAmount;
	}

	public void setPunishAmount(BigDecimal punishAmount) {
		this.punishAmount = punishAmount;
	}

	public Long getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public List<QuarterSettlementContainerEntity> getContainers() {
		return containers;
	}

	public void setContainers(List<QuarterSettlementContainerEntity> containers) {
		this.containers = containers;
	}

}
